package com.wulis;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @author WuliBao
 */
@Slf4j
@EnableScheduling
@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class WulisApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(WulisApplication.class, args);
    }

    @Override
    public void run(String... strings) {
        log.info("启动完成");
    }
}
